I am trying to set up a project using Maven (m2eclipse), but I get this error in Eclipse:
Description Resource Path Location Type Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2 from https://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced.
Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2 from/to central (https://repo1.maven.org/maven2): No response received after 60000 ExampleProject Unknown Maven Problem
Any ideas? It would be helpful if you could show me how to check if everything is configured fine…
A) Remove all your failed downloads:
find ~/.m2 -name “*.lastUpdated†-exec grep -q “Could not transfer†{} ; -print -exec rm {} ;
For windows:
cd %userprofile%.m2
epository
for /r %i in (*.lastUpdated) do del %i
Then rightclick on your project in eclipse and choose Maven->â€Update Project …â€, make sure “Update Dependencies†is checked in the resulting dialog and click OK.
Posted Date:- 2021-09-02 06:12:00
how does test and package phases implies in maven?
what is clean, default and site in maven?
Processes involved in achieving the project?
Maven differentiation with Selenium webdriver?
what is Version and Scope refereces?
what is ArtifactsId refereces?
In which way the dependencies jar files are downloaded from net.
Expain about the maven settings.xml file?
Explain about the parent pom file.
What happens when we declare dependencies under the scope provided ?
How to override the default name of the war file ?
What’s Maven Central Gradually?
What is the use of Settings XML in Maven?
What is the central repository of Maven?
What is the full name of a project?
What is the default value for the packaging element?
What is the use of Maven in Selenium?
What is the difference between Jenkins and Maven?
Difference between maven scope compile and provided for JAR packaging?
How do you get source JARs from Maven repository?
What are the methods for constructing an uber jar?
What is an uber jar? What does an uber-jar mean and what are its features/advantages?
How do you host a Maven repository on github?
How do you convert input stream into string?
What Is Difference Between Compile & Install?
What Is Target, Source & Test Folders In Maven?
What are the Maven advantages over Ant?
Where are Maven dependencies stored?
What is the use of Maven clean?
Where are Maven dependencies downloaded to?
What is meant by a goal in Maven?
How do you produce error messages in Maven?
What is the exact function of “jar:jar�
What are the ways to activate profiles?
What is the command to install the JAR file in the local repository?
What is the Maven settings.xml file?